#ifndef ZHILAISDK_DEMO_CDIALOG_H_
#define ZHILAISDK_DEMO_CDIALOG_H_

#include <QDialog>

#include "ui_CDialog.h"

class CDialog : public QDialog
{
    Q_OBJECT
public:
    CDialog(QWidget* parent, const QString& title, const QString& content);
    ~CDialog() = default;

    static int info(QWidget* parent, const QString& title, const QString& content) {
        CDialog dlg(parent, title, content);
        return dlg.exec();
    }

private:
    Ui::Dialog ui;
};

#endif  // ZHILAISDK_DEMO_CDIALOG_H_